Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix coredata crash on primary course #518

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

rnr
Copy link
Contributor

@rnr rnr commented Sep 6, 2024

This PR fixes the crash with coredata. Although, I'm not able to reproduce the crash but from dry run it it can occur because of deleting the data async and right before saving new data and expecting the data will be deleted.

Crash Link: https://console.firebase.google.com/u/1/project/openedx-mobile/crashlytics/app/ios:org.edx.mobile/issues/cb09ae273338d6fa32acb9f64effefbf?time=last-seven-days&types=crash&versions=6.0.0%20(2)&sessionEventKey=f4c972ede3fd4c18901af18a71e6b702_1979319760445579771

Screenshot 2024-08-09 at 8 03 46 AM

@rnr rnr changed the title fix: fix coredata crash on primary course (#64) fix: fix coredata crash on primary course Sep 6, 2024
Copy link
Contributor

@volodymyr-chekyrta volodymyr-chekyrta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
The best way to handle this would probably be to convert it to an async await function, but we can do that later for the whole class.

@volodymyr-chekyrta volodymyr-chekyrta merged commit e85e970 into openedx:develop Sep 30, 2024
6 checks passed
@rnr rnr deleted the upstream-develop-crashfix-2 branch October 7, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants